import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/main'
    },
    {
      path: '/Login',
      name: 'home',
      component: () => import('../views/login/Login.vue')
    },
    {
      path: '/main',
      name: 'about',
      component: () => import('../views/main/main.vue')
    }
  ]
})

export default router
